body {
    font-family: Arial, sans-serif;
    background-color: #34495e;
    color: white;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    background-color: #4d6680;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.message-container {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 10px;
    background-color: #333;
    margin-bottom: 20px;
}

.message {
    margin: 8px 0;
    padding: 8px;
    border-radius: 4px;
}

.message.user {
    background-color: #007bff;
    color: white;
    text-align: right;
}

.message.assistant {
    background-color: #28a745;
    color: white;
}

.think {
    color: #dbdbdb; /* 灰色 */
    font-style: italic; /* 斜体 */
    margin: 4px 0; /* 添加一些间距 */
}

.input-group {
    display: flex;
    gap: 10px;
}

input[type='text'] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #333;
    color: white;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 15px;
    background-color: #333;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab.active {
    background-color: #007bff;
}

.tab-close {
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.tab-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.new-chat-btn {
    padding: 8px 15px;
    background-color: #28a745;
    border-radius: 4px;
    cursor: pointer;
}

.chat-container {
    display: none;
}

.chat-container.active {
    display: block;
}